<template>
	<view>
		<uni-list>
			<uni-list-item :title="t.semName" :rightText="t.score" 
			v-for="t in list" :note="t.remark"/>
		</uni-list>
	</view>
</template>

<script>
	import { myResults } from '@/api/evaluate.js'
	export default {
		data() {
			return {
				list: []
			}
		},
		onLoad(option) {
			this.getList();
		},
		methods:{
			getList() {
				myResults().then(response => {
					this.list = response.rows;
				});
			}
		}
	}
</script>

<style>
</style>
